<?php

namespace App\Vilidate\playlet;

/**
 * user控制器下的验证规则类
 */
class PlayletExamineController
{
    public $index = ['rule'=>[], 'msg'=>[]];

    public $episodesIndex = ['rule'=>[], 'msg'=>[]];

    public $auditDrama = ['rule'=>[], 'msg'=>[]];

    public $replaceOnlineDrama = ['rule'=>[], 'msg'=>[]];

    public $examine = [
        'rule'=>[
            'ids' => 'required|array',
            'type' => 'required|integer',
        ],
        'msg'=>[
            'ids.required' => 'ID 不能为空',
            'ids.array' => 'ID 应该为数组',
            'type.required' => '类型不能为空',
            'type.integer' => '类型应为整数',
        ]
    ];

}